@echo off
setlocal enabledelayedexpansion

:: Set WeChat webhook URL
set WEBHOOK_URL=https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=32efdd76-e908-4663-962d-11c9e3134b4b

:: Create JSON message content
set "json={\"msgtype\":\"text\",\"text\":{\"content\":\"📰 Daily AI News Summary\\n\\n🗓️ Date: September 10, 2025\\n\\nDue to current network connection limitations, unable to fetch the latest AI news.\\n\\nSuggestions:\\n1. Please check your network connection\\n2. Try again later\\n3. Or visit these websites for latest AI news:\\n   - TechCrunch AI\\n   - MIT Technology Review AI\\n   - VentureBeat AI\\n   - Google AI Blog\\n\\n🤖 AI News Secretary\\nGenerated by Claude Code\"}}"

:: Send message to WeChat
curl -X POST -H "Content-Type: application/json" -d "!json!" "!WEBHOOK_URL!"

echo.
echo Message sent to WeChat
pause